cpuinfo package

您所在的位置:网站首页 compress internal error手机 cpuinfo package

cpuinfo package

#cpuinfo package| 来源: 网络整理| 查看: 265

Overview 露

Package cpuinfo gives runtime info about the current CPU.

This is a very limited module meant for use internally in this project. For more versatile solution check https://github.com/klauspost/cpuid.

Index 露 func DisableBMI2() func() func HasBMI() bool func HasBMI1() bool func HasBMI2() bool Constants 露

This section is empty.

Variables 露

This section is empty.

Functions 露 func DisableBMI2 露 func DisableBMI2() func()

DisableBMI2 will disable BMI2, for testing purposes. Call returned function to restore previous state.

func HasBMI 露 func HasBMI() bool

HasBMI checks whether an x86 CPU supports both BMI1 and BMI2 extensions.

func HasBMI1 露 func HasBMI1() bool

HasBMI1 checks whether an x86 CPU supports the BMI1 extension.

func HasBMI2 露 func HasBMI2() bool

HasBMI2 checks whether an x86 CPU supports the BMI2 extension.

Types 露

This section is empty.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3